<?php
class BatchL10nEntity extends AbstractEntity {
    
    public function __construct($valueMap) {
        parent::__construct(
                
                /* table */
                'batch_l10n',
                
                /* field names */
                array(
                    'seminar_id',
                	'batch_code',
                    'language_code',
                    'name',
                    'description'
                ),
                
                /* primary keys */
                array('seminar_id', 'batch_code', 'language_code'),
                
                /* values */
                $valueMap,
                
                /* field name substitutions */
                array('code' => 'batch_code')
         );
    }
}
